<div class="page-content">
   
    <div mode="selector" bindchange="bindChange"    class="shop-header background_color_1">
      <div class="s_left"> 
        <span class="shop-title color_1" >{{shop_info.name}}</span> 
       </div>

       <a @click="newGoods"    class="s_right color_0" >添加商品</a> 
      <div class="clear"></div>
    </div>
    <!-- 左边导 -->
    <div class='good-tabs tabs'>
      <div class="scroll_div">
         
          <div  v-for="(attr,idx) in tag_list" @click='showTabs(idx)' :class="idx==tabid?'li on':'li'" :data-id="idx">{{attr.name}}</div> 
          
      </div>  
    </div>
<!-- 右边商品 -->
     <div class="good-contents tab-contents">
      
              <div v-for="(attr,idx) in tag_list" :class="idx==tabid?'tab-content':'hidden'" >                                      
                  <!-- 商品列表开始 -->
                  <div class="goods-item-1" :data-attr_id="attr.id">                              
                                                    
                    <div class="goods-item" v-if="goods[attr.id]" v-for="(item,idx2) in goods[attr.id]">
                     <div class="goods-item-img"> <img mode='widthFix'  :src="item.default_img+'?imageview2/1/w/160/h/160'"/></div>
                     <div class="goods-item-info">
                          <div class="goods_title">{{item.goods_name}}</div>
                          <!-- <div class="light" >{{item.sub_title}}</div> -->
                          <div class="price s_left">¥{{item.price}}</div>
<!-- 操作购物车 -->
                        <div class=" s_right">   
                          <i class="icon iconfont   s_left" @click="deleteRowMallGoods(attr.id,idx2,item.id)"> {{item.status==1?'下架':'上架'}}</i>
                          <i  class="icon iconfont  s_left" @click="editGoods(item.id)" style="margin-left: 5px;"> 编辑</i>   
                      </div>
<!-- 操作购物车 -->
                     </div>
                     <div class="clear"></div>  
                 </div>
                 <!-- 商品列表结束-->
                  
                  </div>
                  <div style='height:100px'></div>
              </div>
 
      </div>
      <!-- 结束商品 -->
 

</div>